package com.cykj.web.controller.posbiz.entry.mapper;

import com.cykj.pos.domain.*;
import com.cykj.pos.domain.dto.BizEntrySnDTO;
import com.cykj.pos.domain.posone.BizAreaCodeDTO;
import com.cykj.web.controller.posbiz.entry.domain.BizMerchParentRelatedDTO;
import com.cykj.web.controller.posbiz.entry.domain.BizMerchantEntryNewDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * 商户入件Mapper接口
 *
 * @author zhj
 * @date 2021-11-03
 */
public interface BizMerchantEntryNewMapper extends BaseMapper<BizMerchantEntryNewDTO> {
    List<BizMerchantEntryNewDTO>  queryList(BizMerchantEntryNewDTO bizMerchantEntry);

    List<BizEntrySnDTO>  selectBizEntrySn(Long id);

    BizPosMachine  selectPosMachine(String sn);

    List<BizMerchantEntryNewDTO>  selUnbindlist(BizMerchantEntryNewDTO bizMerchantEntry);

    List<BizMerchantEntryNewDTO>  inTieList(BizMerchantEntryNewDTO bizMerchantEntry);

    BizMerchantEntryNewDTO  getMerchantEntryId(Long id);

    BizMerchantEntryNewDTO  getMerchantEntryselSeesSn(String sn);

    int  removeMerchantEntryIds(Long id);

    int  removeActivate(String sn);

    int  updateBizPosMachine(BizPosMachine bizPosMachine);

    int  updateByMerchantEntryId(BizMerchantEntryNewDTO bizMerchantEntry);

    List<BizAreaCode> selectsh(String type);

    List<BizAreaCode> selectsi(String item);

    List<BizAreaCode> selectq(String item);

    BizMerchantEntryNewDTO  selectEntryAlls(Long id);

    int  updateBizMerchantEntry(BizMerchantEntryNewDTO bizMerchantEntry);

    int  updatePosMachine(BizMerchantEntryNewDTO bizMerchantEntryNewDTOS);

    int  intBizEntrySn(BizMerchantEntryNewDTO bizMerchantEntryNewDTOS);

    int  intStatusRecords(BizMerchantEntryNewDTO bizMerchantEntryNewDTOS);
}
